package online.longzipeng.householdbillssystem.business.vo.bill;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "账单-用户组关联修改对象",description = "请求参数类")
public class BillGroupUpdateVO {

    @ApiModelProperty(value = "id",required = true)
    @Min(0)
    private Integer id;

    @ApiModelProperty(value = "账单id",example = "1",required = true)
    @Min(0)
    private Integer billId;

    @ApiModelProperty(value = "用户组id",example = "1",required = true)
    @Min(0)
    private Integer groupId;

    @ApiModelProperty(value = "权限json字符串",example = "{save,delete,update,select}",required = false)
    private String permissJson;

}